package top.huhuiyu.springboot.study.entity.joke;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author 胡辉煜
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class NewsType implements Serializable {
  private static final long serialVersionUID = 1L;
  private Integer code;
  private String msg;
  private List<NewsTypeData> data;

  @Data
  @JsonIgnoreProperties(ignoreUnknown = true)
  public static class NewsTypeData implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer typeId;
    private String typeName;
  }
}

